package sample.model;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class Company {
    public StringProperty index;
    public StringProperty name;
    public StringProperty tel;
    public StringProperty district;
    public StringProperty address;
    public StringProperty industry;

    public Company() {
    }

    public Company(String index, String tel, String name, String district, String address, String industry) {
        this.index = new SimpleStringProperty(index);
        this.tel = new SimpleStringProperty(tel);
        this.name = new SimpleStringProperty(name);
        this.district = new SimpleStringProperty(district);
        this.address = new SimpleStringProperty(address);
        this.industry = new SimpleStringProperty(industry);
    }

    public String getTel() {
        return tel.get();
    }

    public StringProperty telProperty() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel.set(tel);
    }

    public String getDistrict() {
        return district.get();
    }

    public StringProperty districtProperty() {
        return district;
    }

    public void setDistrict(String district) {
        this.district.set(district);
    }

    public String getAddress() {
        return address.get();
    }

    public StringProperty addressProperty() {
        return address;
    }

    public void setAddress(String address) {
        this.address.set(address);
    }

    public String getIndustry() {
        return industry.get();
    }

    public StringProperty industryProperty() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry.set(industry);
    }

    public String getIndex() {
        return index.get();
    }

    public StringProperty indexProperty() {
        return index;
    }

    public void setIndex(String index) {
        this.index.set(index);
    }


    public String getName() {
        return name.get();
    }

    public StringProperty nameProperty() {
        return name;
    }

    public void setName(String name) {
        this.name.set(name);
    }


}
